import java.util.*

/**
 * This class holds the information of a patient
 * 
 * @author Matthew Edwards 
 * @version 3-5-11
 */


public class PatientInformation {
    private String name;
    private String address;
    private String phone;
    private String email;
    private Gender gender;
    private Date age; //date class change
    private String pharmacy;
    private String insurance;
    private String allergies;
    private MedicalHistory medicalHistory;
    private String cellPhone;
    
    public PatientInformation(String name, String address, String phone,
            String email, Gender gender, Date age, String pharmacy,
            String insurance, String allegergies,
            MedicalHistory medicalHistory, String cellPhone){
        
        this.name = name;
        this.address = address;
        this.phone = phone;
        this.email = email;
        this.gender = gender;
        this.age = age;
        this.pharmacy = pharmacy;
        this.insurance = insurance;
        this.allergies = allergies;
        this.medicalHistory = medicalHistory;
        this.cellPhone = cellPhone;
}
    
    
    public String getName(){
        return name;
    }
    
    public void setName(String input){
        name = input;
    }
    
    public String getAddress(){
        return address;
    }
    
    public String getPhone(){
        return phone;
    }
    
    public String getEmail(){
        return email;
    }
    
    public Gender getGender(){
        return gender;
    }
    
    public String getPharmacy(){
        return pharmacy;
    }
    
    public void setPharmacy(String input){
        pharmacy = input;
    }
    
    public void setGender(Gender input){
        gender = input;
    }
    
    public void setEmail(String input){
        email = input;
    }
    
    public void setPhone(String input){
        phone = input;
    }
    
    public void setAdress(String input){
        address = input;
    }
    
    public String getInsurance(){
        return insurance;
    }
    
    public String getAllergies(){
        return allergies;
    }
    
    public MedicalHistory getMedicalHistory(){
      return medicalHistory;
    }
    
    public String getCellPhone(){
        return cellPhone;
    }
    
    public Date age(){
        return age;
    }
    
    public void setInsurance(String input){
        insurance = input;
    }
    
    public void setAllergies(String input){
        allergies = input;
    }
    
    public void setMedicalHistory(MedicalHistory input){
        medicalHistory = input;
    }
    
    public void setCellPhone(String input){
        cellPhone = input;
    }
    
    public void setAge(Date input){
        age = input;
    }

}
